package test9;

import java.util.HashMap;
import java.util.Map;
import java.util.Scanner;
import java.util.ArrayList;

public class daopai {
	private Map<String,ArrayList<String>> map=new HashMap<>();
	private ArrayList<String> list;
	//private Map<String,Integer> nums=new HashMap<>();
	
	public static void suoyin(String line,int i){
		
	}
	
	public static void main(String[] args){
		Scanner sr=new Scanner(System.in);
		String line=sr.nextLine();
		int i=0;
	    while(!"!!!!!".equals(line)){
	    	i++;
	    	suoyin(line,i);
	    	
	    }
	}
	

}
